﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TVset
{
    class Person
    {
        public String Name { get; private set; }

        public Person(String name)
        {
            this.Name = name;
            Console.WriteLine("Hi, I am {0}. I want to see TY.", this.Name);
        }
        public Person(String name, String program)
        {
            this.Name = name;
            Console.WriteLine(" Hi, boddies. My name is {0}. Could I see a {1}?", this.Name, program);
        }


        public void TakeRemotePanel(RemoteControlPanel pult, TVset tv)
        {
            Console.WriteLine(Phrases.AboutTakingOfRemote);
            pult.pressTurnOnOffButton();
            Console.WriteLine(Phrases.TakenPanel);
            Console.WriteLine(Phrases.SwitchOnOffButtonWasPushed);
        }

        public void PressVolumeButtonOfControlePanel(RemoteControlPanel panel, TVset telik)
        {
            panel.pressPlusVolumeButton();
            Console.WriteLine(Phrases.PressIncVolumeButton);
        }

        public void PutRemotePanel()
        {
            Console.WriteLine(Phrases.AboutPutingOfRemote);
        }
        
        public void PoliteAnswer()
        {
            Console.WriteLine("Sure!");
        }

        public void RudeAnswer(string program)
        {
            Console.WriteLine("No! I will see only {0}!!!", program);
        }

        public void Advice(string suggestion, string program)
        {
            Console.WriteLine(suggestion);
            Console.WriteLine("Who want see {0}?", program);
        }

        public int voteAgainst()
        {
            int voice = 0;
            return voice;
        }
        public int voteFor()
        {
            int voice = 1;
            return voice;
        }
        public void resume(String program)
        {
            Console.WriteLine("We will see {0} according to vote.", program);
        }
        public bool IsPersonSeesLightScreen(TVset TV)
        {
            bool status = TV.SwitchOnOff;
            return status;
        }
             
    }
}
